Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: do not show latest version if auto-updating #7388

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

cngonzalez
Copy link
Member

Description

We do not want to show the latest version label to those on auto-updating studios. There are a couple of scenarios in which the current text could be confusing:

  1. If we are doing a gradual rollout -- the users may be in a bucket that does not allow them to upgrade to the "latest" version.
  2. If developers have pinned the studio version to a past version and again, the user does not have the power to update.

What to review

Any edge cases in which this may not be helpful.

Testing

I would like to test this! I am trying to reduce flakiness in our test suite so we can run the entire suite against auto-updating studios. Once that is done, I will write a test for this as well!

@cngonzalez cngonzalez requested review from a team and ninaandal and removed request for a team August 19, 2024 20:58
Copy link

vercel bot commented Aug 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
page-building-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 19, 2024 9:14pm
performance-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 19, 2024 9:14pm
test-compiled-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 19, 2024 9:14pm
test-next-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 19, 2024 9:14pm
test-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 19, 2024 9:14pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Visit Preview Aug 19, 2024 9:14pm

Copy link
Contributor

No changes to documentation

Copy link
Contributor

github-actions bot commented Aug 19, 2024

Component Testing Report Updated Aug 19, 2024 9:19 PM (UTC)

✅ All Tests Passed -- expand for details
File Status Duration Passed Skipped Failed
comments/CommentInput.spec.tsx ✅ Passed (Inspect) 41s 15 0 0
formBuilder/ArrayInput.spec.tsx ✅ Passed (Inspect) 8s 3 0 0
formBuilder/inputs/PortableText/Annotations.spec.tsx ✅ Passed (Inspect) 29s 6 0 0
formBuilder/inputs/PortableText/copyPaste/CopyPaste.spec.tsx ✅ Passed (Inspect) 36s 11 7 0
formBuilder/inputs/PortableText/copyPaste/CopyPasteFields.spec.tsx ✅ Passed (Inspect) 0s 0 12 0
formBuilder/inputs/PortableText/Decorators.spec.tsx ✅ Passed (Inspect) 17s 6 0 0
formBuilder/inputs/PortableText/DisableFocusAndUnset.spec.tsx ✅ Passed (Inspect) 10s 3 0 0
formBuilder/inputs/PortableText/DragAndDrop.spec.tsx ✅ Passed (Inspect) 3m 0s 0 0 0
formBuilder/inputs/PortableText/FocusTracking.spec.tsx ✅ Passed (Inspect) 43s 15 0 0
formBuilder/inputs/PortableText/Input.spec.tsx ✅ Passed (Inspect) 1m 44s 21 0 0
formBuilder/inputs/PortableText/ObjectBlock.spec.tsx ✅ Passed (Inspect) 1m 14s 18 0 0
formBuilder/inputs/PortableText/PresenceCursors.spec.tsx ✅ Passed (Inspect) 8s 3 9 0
formBuilder/inputs/PortableText/RangeDecoration.spec.tsx ✅ Passed (Inspect) 25s 9 0 0
formBuilder/inputs/PortableText/Styles.spec.tsx ✅ Passed (Inspect) 18s 6 0 0
formBuilder/inputs/PortableText/Toolbar.spec.tsx ✅ Passed (Inspect) 1m 12s 21 0 0
formBuilder/tree-editing/TreeEditing.spec.tsx ✅ Passed (Inspect) 1m 46s 30 0 0
formBuilder/tree-editing/TreeEditingNestedObjects.spec.tsx ✅ Passed (Inspect) 19s 3 0 0

Copy link
Contributor

@binoy14 binoy14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense to me, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants